# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy

#分类item
class CategoryItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    cid = scrapy.Field()
    url = scrapy.Field()
    catname = scrapy.Field()
    pcid = scrapy.Field()


#newsitem 新闻的数据结构
class NewsItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    caturl = scrapy.Field()
    catname = scrapy.Field()
    ll_url = scrapy.Field()
    ll_title = scrapy.Field()
    ll_pics = scrapy.Field()

